<?php

namespace app\admin\controller\auth;

use support\Request;
use app\admin\service\auth\AuthService;
class LoginController
{
    public function index(Request $request)
    {
      $param = $request->all();
      $service = new AuthService();
      return $service->doLogin($param);
    }
}
